package com.neuralnoise;

import java.util.Collection;
import java.util.Date;

import com.neuralnoise.foaf.core.Person;

public abstract class AbstractDriver<ID> {

	public abstract boolean hasUserData(ID id) throws Exception;

	public abstract void addUserData(ID id) throws Exception;
	public abstract Collection<ID> getConnections(ID id) throws Exception;
	
	public abstract Person toPerson(ID id) throws Exception;
	
	public static Long getTimestamp() {
		Date now = new Date();
		return now.getTime();
	}
	
}
